package com.ruoyi.youtian.mapper;

import com.ruoyi.Gzmx_device.domain.Gzmx_device;
import com.ruoyi.youtian.domain.EquipmentCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 故障模型分析
 */
@Mapper
public interface FaultStatisticsMapper {


    List<Gzmx_device> selectByid(@Param("id") Integer id);

    List<String> getId(@Param("equipment_id") Integer equipment_id);

    Integer faultDesc(@Param("pointid") String pointid);

    List<Map<String,Object>> getHistogram(@Param("id") Integer id);

    List<Map<String,Object>> date(@Param("id") Integer id);
}
